

import util from "@/libs/util.js";

// 获取风险大屏
export const screenList = (data) => {
    return new Promise((resolve, reject) => {
        util.http2({
            url: '/api/screen/list',
            method: 'post',
            data
        }).then(res => {
            if (res.data.code === 200) {
                resolve(res.data.data)
            } else {
                reject({})
            }
        }).catch(() => {
            reject({})
        })
    })
}
